package com.zhilianbao.leyaogo.constants;

/**
 * ClassName: CacheConfig <br>
 * Description: 缓存配置<br>
 * Author: Cyarie <br>
 * Created: 2016/7/27 11:08 <br>
 * Update Time：<br>
 * Update Description：<br>
 */
public class CacheConfig {

    /**
     * 崩溃日志存放文件夹
     */
    public static final String CRASH_CACHE_NAME = "/LeYaoGo/crash";

    /**
     * Glide缓存文件夹
     */
    public static final String GLIDE_IMAGE_CACHE_NAME = "/LeYaoGo/glide";

    /**
     * Image 压缩缓存文件夹
     */
    public static final String IMAGE_COMPRESS_FOLDER = "/LeYaoGo/pic";

    /**
     * Image 压缩文件前缀
     */
    public static final String IMAGE_PREFIX = "LeYao_";

    /**
     * Glide缓存大小
     */
    public static final int DISK_MAX_CACHE_SIZE = 80 * 1024 * 1024;//100MB

    /**
     * share preference文件名
     */
    public static final String PREFERS_CONFIG = "prefers_leyaogo_config";

    /**
     * 用户登录信息key
     */
    public static final String USER_LOGIN_INFO = "userLoginInfo";

    /**
     * 用户登录名key
     */
    public static final String USER_LOGIN_NAME = "userLoginName";

    /**
     * 用户定位
     */
    public static final String LOCATION = "location";

    /**
     * 城市
     */
    public static final String ALL_DICTIONARY = "all_dictionary";

    /**
     * 用户详细信息
     */
    public static final String USER_DETAILS_INFO = "user_details_info";

    /**
     * 我的页面红点数据
     */
    public static final String ME_RED_DOT = "me_red_dot";

    /**
     * 搜索历史
     */
    public static final String SEARCH_HISTORY = "search_history";


    /**
     * 运营商Id
     */
    public static final String SUPPLIER_ID = "supplier_id";

    /**
     * 首次进入应用
     */
    public static final String FIRST_ENTER = "first_enter";

    /**
     * 购物车选中id
     */
    public static final String SHOPPING_CART_CHECK_ID = "shopping_cart_check_id";

    /**
     * 默认地址
     */
    public static final String DEFAULT_ADDRESS = "default_address";

    /**
     * 首页栏目宽度
     */
    public static final String HOME_COLUMN_CONTAINER_WIDTH = "home_column_width";

    /**
     * 上次支付方式
     */
    public static final String LAST_PAY_TYPE = "last_pay_type";

    /**
     * 上次充值方式
     */
    public static final String LAST_RECHARGE_TYPE = "last_recharge_type";

    /**
     * 省列表
     */
    public static final String PROVINCE_LIST = "province_list";


    /**
     * 市列表
     */
    public static final String CITY_LIST = "city_list";


    /**
     * 区列表
     */
    public static final String DISTRICT_LIST = "district_list";


    /**
     * 市编码列表
     */
    public static final String CITY_CODE_LIST = "city_code_list";

    /**
     * 融云token
     */
    public static final String RONG_YUN_TOKEN = "rong_yun_token";

    /**
     * 融云客服Id
     */
    public static final String RONGYUN_ID = "rongyun_id";
}
